<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html 
      xmlns:f="http://java.sun.com/jsf/core" 
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets" >
	  
<ui:composition template="contenu.xhtml"><ui:define name="droite">
<h:outputText value="#{msg['creationCentre.titreEntete']}"/><br/><br/>
<h:form>
<table>
  <tr>
    <th align="left"><h:outputText value="#{msg['creationCentre.labelNomCentre']}"/></th>
    <td>
      <h:inputText id="nomCentre"
      	             required="true"
      	             value="#{gestionCentre.nomCentre}"
      	             validator="#{gestionCentre.verificationChampVide}"/>
    </td>
    <td><h:message for="nomCentre"/></td>
  </tr>
  <tr>
    <th align="left"><h:outputText value="#{msg['creationCentre.labelAdresseLigne1']}"/></th>
    <td>
      <h:inputText id="adresseLigne1"
      	             value="#{gestionCentre.adresseLigne1}"/>
    </td>
    <td></td>
  </tr>
  <tr>
    <th align="left"><h:outputText value="#{msg['creationCentre.labelAdresseLigne2']}"/></th>
    <td>
      <h:inputText id="adresseLigne2"
      	             value="#{gestionCentre.adresseLigne2}"/>
    </td>
    <td></td>
  </tr>
  <tr>
    <th align="left"><h:outputText value="#{msg['creationCentre.labelCodePostal']}"/></th>
    <td>
      <h:inputText id="codePostal"
      	             required="true"
      	             value="#{gestionCentre.codePostal}"
      	             validator="#{gestionCentre.verificationChampVide}"/>
    </td>
    <td><h:message for="codePostal"/></td>
  </tr>
  <tr>
    <th align="left"><h:outputText value="#{msg['creationCentre.labelVille']}"/></th>
    <td>
      <h:inputText id="ville"
      	             required="true"
      	             value="#{gestionCentre.ville}"
      	             validator="#{gestionCentre.verificationChampVide}"/>
    </td>
    <td><h:message for="ville"/></td>
  </tr>
  <tr>
    <th>&nbsp;</th>
    <td>
      <h:commandButton action="#{gestionCentre.verification}" value="#{msg['boutonCreation']}"/>
      <h:commandButton value="#{msg['boutonAnnulerCreation']}"/>
    </td>
    <td></td>
  </tr>
</table>
</h:form>
</ui:define></ui:composition>
</html>